//
//  LYDayTitleModel.m
//  MusicMV
//
//  Created by dllo on 16/3/22.
//  Copyright © 2016年 Eternity. All rights reserved.
//

#import "LYDayTitleModel.h"
#import "LYDayRightModel.h"
@implementation LYDayTitleModel


- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    NSMutableArray *tempArr = [NSMutableArray array];
    if ([key isEqualToString:@"data"]) {
        for (NSDictionary *dic in value) {
            LYDayRightModel *model = [[LYDayRightModel alloc] init];
            [model setValuesForKeysWithDictionary:dic];
            [tempArr addObject:model];
            
            
        }
        
        self.data = [NSMutableArray arrayWithArray:tempArr];
        
    }
}
@end






